<style >
*{
  margin: 0;
  padding: 0;
}

html,
body{
  box-sizing: border-box;
  height: 100vh;
}

.home{
  margin: auto;
  padding: 40px;
  width: 500px;
}
</style>
<template>
  <div class="home">
    <component v-for='(item, index) of cmps' :key='index' :is='item'></component>
  </div>
</template>

<script>
import Select from '@/components/select/example'
import LockDatePicker from '@/components/time/example'

export default {
  name: 'Home',
  data(){
    return{
      cmps: [ Select, LockDatePicker ]
    }
  },

}
</script>
